package trainfengxing.mapper;

import org.apache.ibatis.annotations.Mapper;
import trainfengxing.pojo.Hotel;

import java.util.List;

@Mapper
public interface HotelMapper {
    List<Hotel> getAllHotels();
    Hotel getHotelById(Integer hotelID);
    void addHotel(Hotel hotel);
    void updateHotel(Hotel hotel);
    void deleteHotel(Integer hotelID);
}